package com.stu.service;

import com.stu.bean.User;

import java.util.Date;
import java.util.List;

public interface UserService {
    User loginUser(User user);

    int insertUser(User user);

    String selectVip(String username);

    List<User> getUsers(User user, Date strDate, Date endDate);
    int deleteUser(int userId);


    //通过id查询需要修改的用户信息
    User selectUserById(int userid);

    int updateUser(User user);
    //查询用户总数
    int selectCount();

    User selectH(User user);
}
